home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / pipes.zip / README.TXT < prev    next >
Text File  |  1993-11-24  |  833b  |  16 lines

  1. This is a very simple example: server.exe is the server, client.exe is a
  2. 32-bit client (for either Windows NT or Win32s) and cli16.exe is a 16-bit
  3. client. Note that client.c is the source for both client.exe and cli16.exe.
  4.  
  5. Start the server app.
  6. The server app starts the 16-bit client via CreateProcess() (you can modify the
  7.    server code in server.c to start the 32-bit client).
  8. Use the server app menu to start a test. It starts a thread which creates a
  9.    pipe and writes a message to it.
  10. User the client app menu to connect to the pipe. It will read the message and
  11.    display it in its window.
  12.  
  13. You can extend the concept to pass an integer which represents a function in a
  14. 16-bit DLL that you would like the 16-bit app to call, in order to provide a
  15. facility for a 32-bit app to call routines in a 16-bit DLL.
  16.